package com.tbit.uqbike.object.pojo.vo;

import java.math.BigDecimal;


/**
 * 商户营收vo
 *
 * @Author:yanlun
 * @DATE: 2022/11/18
 */

public class IncomeExpendDetailVo {
    /**
     * 收入
     */
    private BigDecimal income;
    /**
     * 收入笔数
     */
    private Long incomeCount;
    /**
     * 支出
     */
    private BigDecimal expend;
    /**
     * 支出笔数
     */
    private Long expendCount;

    public BigDecimal getIncome() {
        return income == null ? null : income.setScale(2, BigDecimal.ROUND_HALF_UP);
    }

    public void setIncome(BigDecimal income) {
        this.income = income;
    }

    public Long getIncomeCount() {
        return incomeCount;
    }

    public void setIncomeCount(Long incomeCount) {
        this.incomeCount = incomeCount;
    }

    public BigDecimal getExpend() {
        return expend == null ? null : expend.setScale(2, BigDecimal.ROUND_HALF_UP);
    }

    public void setExpend(BigDecimal expend) {
        this.expend = expend;
    }

    public Long getExpendCount() {
        return expendCount;
    }

    public void setExpendCount(Long expendCount) {
        this.expendCount = expendCount;
    }
}
